package exhaustivity.partners;

/**
 * @author longzj
 */
public class Person {

    private int mIndex;
    private int mMatchedIndex;
    private int[] mFavList;
    private int mLastPosition;

    public Person(int index, int[] favList) {
        mIndex = index;
        mFavList = favList;
        mMatchedIndex = -1;
        mLastPosition = 0;
    }

    int getLastPosition() {
        return mLastPosition;
    }

    void setLastPosition(int lastPosition) {
        mLastPosition = lastPosition;
    }

    int getIndex() {
        return mIndex;
    }

    int getMatchedIndex() {
        return mMatchedIndex;
    }

    void setMatchedIndex(int matchedIndex) {
        mMatchedIndex = matchedIndex;
    }

    int[] getFavList() {
        return mFavList;
    }
}
